home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Development
/
General
/
CIncludesTool
/
modified version
/
put in mpw folder
/
UserStartup•CInc
< prev
next >
Wrap
Text File
|
1994-02-27
|
1KB
|
36 lines
# UserStartup•CInc - customized MPW Shell UserStartup File
#
# This file contains the definitions used by the CIncludes tools and scripts
# also adds support for multiple (nested) CIncludes folders for Apple MPW and Symantec MPW C/C++ compilers
# support extra CIncludes search paths
# for MPW C and C++ …
Set CIncList ""
For i in `Files -f -d "{CIncludes}" ≥ Dev:Null`
Set CIncList "{CIncList} -i {i}"
End # For i
Export CIncList
Alias C 'C {CIncList}'
Alias CPlus 'CPlus {CIncList}'
# for Symantec C++ …
Set SCIncList ""
For i in `Files -f -d "{SCIncludes}" ≥ Dev:Null`
Set SCIncList "{SCIncList} -i {i}"
End # For i
Export SCIncList
Alias SC 'SC {CIncList}'
Alias SCpp 'SCpp {CIncList}'
# add the C function prototype/definition finding commands to the Find menu
AddMenu Find '(-' ''
AddMenu Find 'CIncludesLocate' 'CIncludesTool -f'
AddMenu Find 'CIncludesReformat' 'CIncludesTool -i'
AddMenu Find 'CIncludesOpenHeader' 'CIncludesTool -d'
AddMenu Find 'CIncludesRebuild' 'CIncludesTool -m'
AddMenu Find 'Set Compiler…' 'Execute SetCompiler'
AddMenu Find '(-' ''
Set CIncludesCompiler AppleCFront
Export CIncludesCompiler
# end of UserStartup•CInc